package com.graduation.springbootinit.model.entity.ShopPart;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("shop_part_shopping_cart_item")
public class ShoppingCartItem {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long cartId;
    
    private Long productId;
    
    private String size;
    
    private Integer quantity;
    
    private Integer selected; // 是否选中：0未选中/1选中
    
    private String productImage; // 商品图片
    
    private Long storeId; // 商户ID
    
    private Date createdAt;
    
    private Date updatedAt;
} 